package com.fastCms.business.mall.pojo.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 企业员工福利表
 * </p>
 *
 * @author lsquan
 * @since 2019-05-27
 */
@Data
@ApiModel(value = "ProductPickRecordCreatePO", description = "产品提货码")
public class ProductPickRecordCreatePO {

    @ApiModelProperty(value = "组织编码", example = "RSD")
    private String organizeCode;

    @ApiModelProperty(value = "产品ID", example = "1")
    private String productId;

    @ApiModelProperty(value = "sku组合属性ID:1,3", example = "1,3")
    private String skuAttr;

    @ApiModelProperty(value = "sku价格", example = "120")
    private BigDecimal skuPrice;

    @ApiModelProperty(value = "sku结构描述,map型字符串", example = "{颜色:黑色,内存:16GB}")
    private String skuDesc;

    @ApiModelProperty(value = "提示图片")
    private String noticeImage;

    @ApiModelProperty(value = "提货码数量", example = "20")
    private Integer count;

    @ApiModelProperty(value = "有效开始时间", example = "2019-10-11 11:11:10")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(value = "有效截止时间", example = "2019-10-11 11:11:10")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expireTime;

    @ApiModelProperty(value = "门店Id", example = "[1,2]")
    private List<String> storeIds;

    @ApiModelProperty(value = "使用说明", example = "这里是使用说明")
    private String introduce;
}
